﻿using System;
using System.Linq;
using System.Text;
using System.Xml.Serialization;
using System.Collections.Generic;
using PlanningGIS.Util;
using PlanningGIS.ArcGIS.Custom;

namespace PlanningGIS.Raster
{
    /// <summary>
    /// 栅格配置
    /// </summary>
    [Serializable]
    public class RasterConfig
    {
        /// <summary>
        /// 数据库连接，主要用来记录元数据
        /// </summary>
        public string ConnectName { get; set; }
        ///// <summary>
        ///// ftp服务器地址
        ///// </summary>
        //public string Server { get; set; }
        ///// <summary>
        ///// ftp端口号
        ///// </summary>
        //public int Port { get; set; }
        ///// <summary>
        ///// 共享地址，用来下载和浏览栅格数据
        ///// </summary>
        //public string ShareDir { get; set; }
        ///// <summary>
        ///// 连接ftp的用户名
        ///// </summary>
        //public string UserID { get; set; }
        ///// <summary>
        ///// 连接ftp的密码
        ///// </summary>
        //public string Password { get; set; }

    }

    /// <summary>
    /// Dem元数据信息
    /// </summary>
    public class DemMetaData
    {
        public string ID { get; set; }

        public string Name { get; set; }

        public int? Scale { get; set; }

        public double? Grid { get; set; }

        public string DataSrc { get; set; }

        public DateTime Date { get; set; }

        public string Folder { get; set; }

        public string Format { get; set; }
    }

    /// <summary>
    /// Dom元数据信息
    /// </summary>
    public class DomMetaData
    {
        public string ID { get; set; }

        public string Name { get; set; }

        public string RsType { get; set; }

        public double? Resolution { get; set; }

        public string Color { get; set; }

        public DateTime Date { get; set; }

        public string Folder { get; set; }

        public string Format { get; set; }
    }
}
